package norms;

public class SNorm implements INorm {

	@Override
	public double max(double a, double b) {
		if (a > b) {
			return a;
		} else {
			return b;
		}
	}

	@Override
	public double min(double a, double b) {
		if (a+b < 1) {
			return a+b;
		} else {
			return 1;
		}
	}

}
